package com.example.service.impl;

import com.example.mapper.MajorMapper;
import com.example.pojo.education;
import com.example.pojo.major;
import com.example.service.MajorService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class MajorServiceImpl implements MajorService {
    @Autowired
    private MajorMapper majorMapper;

    //获取专业表
    @Override
    public List<major> getMList(){
        return majorMapper.getMList();
    }

    //获取学历表
    @Override
    public List<education> getEList(){
        return majorMapper.getEList();
    }

}
